package com.hksj.ecm.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;


import java.io.Serializable;

@Data
public class EnergyHistoryDeviceDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("产品id ")
    private String productId;

    @ApiModelProperty("设备id ")
    private String deviceId;

    @ApiModelProperty(value = "统计类型（Leijdl=电表功耗 Leijll=水表使用量）")
    private String countType;

    @ApiModelProperty("周期: 1=小时 2=天")
    private String cycleType;

    @ApiModelProperty("开始时间")
    @NotEmpty(message = "开始时间不能为空")
    private String startTime;

    @ApiModelProperty("结束时间")
    @NotEmpty(message = "结束时间不能为空")
    private String endTime;

    @ApiModelProperty(value = "当前页 默认值为1")
    private Long pageNum = 1L;

    @ApiModelProperty(value = "分页大小 默认值为10")
    private Long pageSize = 10L;

}
